package java68_3;

import java.util.Scanner;

public class SendGift {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        //int ch;
        while(true){
            System.out.println("请输入卡号和积分:");
            int card=sc.nextInt();
            int score=sc.nextInt();
            if(score>=8000){
                Gift g=new Gift();
                g.name="shouji";
                g.prize=4300;
                g.show();
            }//...


            System.out.println("还要继续?");
            String answer=sc.next();
            if(!answer.equals("yes"))
                break;
        }
    }
}
